﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Boss.Master" AutoEventWireup="true" CodeBehind="Cumulative.aspx.cs" Inherits="TimeWork.webmaster.report.Cumulative" %>
<asp:Content ID="CumulativeContent" ContentPlaceHolderID="MainContent" runat="server">
<div class="page-title ui-widget-content ui-corner-all" style="background:#fff;">
	<h1 style="text-align: center;background: #6D91B9;padding: 8px;border-radius: 3px;">
        <b style="text-shadow: 0 0 #fff; color: #fff;">Thời gian sử dụng cộng dồn</b>
    </h1>
	<div class="other">

    <form id="FormCumulative" runat="server">
        <asp:ScriptManager ID="ScriptManager" runat="server">
        </asp:ScriptManager>
        <div class="excel print" style="width: 100%;text-align: right;">
            <asp:ImageButton ID="btnExportExcel" runat="server" 
                ImageUrl="~/resources/img/icons/excel.png" ToolTip="Xuất ra Excel" onclick="btnExportExcel_Click" 
                 />&nbsp;<asp:ImageButton ID="btnXml" runat="server" ImageUrl="~/resources/img/icons/xml.png" ToolTip="Xuất ra XML" />&nbsp;<asp:ImageButton ID="btnPrint" runat="server" ImageUrl="~/resources/img/icons/print.png" ToolTip="In báo cáo" OnClientClick="window.print()" />
        </div>


            <table style="border-spacing: 10px;" width="850px">
                <tr>
                    <td class="tdLabel" style="width: 92px;" valign="top">Cục, Vụ, Viện:</td>
                    <td valign="top" colspan="2">
                        <asp:DropDownList ID="ddlCompany" runat="server" style="margin-top: 3px;" 
                            AutoPostBack="True" onselectedindexchanged="ddlCompany_SelectedIndexChanged">
                        </asp:DropDownList>                  
                    </td>
                </tr>
                <tr>
                    <td class="tdLabel" style="width: 125px;">Thời gian:</td>
                    <td>
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                            <div class="bounder">
                                Năm&nbsp;
                                <asp:DropDownList ID="ddlYear" runat="server">
                                    <asp:ListItem Value="2012" Text="2012"></asp:ListItem>
                                    <asp:ListItem Value="2013" Text="2013"></asp:ListItem>
                                    <asp:ListItem Value="2014" Text="2014"></asp:ListItem>
                                    <asp:ListItem Value="2015" Text="2015"></asp:ListItem>
                                </asp:DropDownList>&nbsp;Tháng&nbsp;
                                <asp:DropDownList ID="ddlMonth" runat="server">
                                    <asp:ListItem Value="1" Text="1"></asp:ListItem>
                                    <asp:ListItem Value="2" Text="2"></asp:ListItem>
                                    <asp:ListItem Value="3" Text="3"></asp:ListItem>
                                    <asp:ListItem Value="4" Text="4"></asp:ListItem>
                                    <asp:ListItem Value="5" Text="5"></asp:ListItem>
                                    <asp:ListItem Value="6" Text="6"></asp:ListItem>
                                    <asp:ListItem Value="7" Text="7"></asp:ListItem>
                                    <asp:ListItem Value="8" Text="8"></asp:ListItem>
                                    <asp:ListItem Value="9" Text="9"></asp:ListItem>
                                    <asp:ListItem Value="10" Text="10"></asp:ListItem>
                                    <asp:ListItem Value="11" Text="11"></asp:ListItem>
                                    <asp:ListItem Value="12" Text="12"></asp:ListItem>
                                </asp:DropDownList></div>
                            </ContentTemplate>           
                        </asp:UpdatePanel>
                    </td>
                </tr>
                <tr>
                    <td class="tdLabel" style="width: 92px;" valign="top">Công việc:</td>
                    <td valign="top" colspan="2">
                        <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                            <ContentTemplate>
                                <asp:DropDownList ID="ddlproject" runat="server" AutoPostBack="True" 
                                    onselectedindexchanged="ddlproject_SelectedIndexChanged" Width="250px">
                                </asp:DropDownList>
                                <asp:DropDownList ID="ddlActivity" runat="server" Width="250px" style="margin-top: 3px;">
                                </asp:DropDownList>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </td>
                </tr>
                
                <tr>
                    <td colspan="2" align="right" style="text-align:right;">
                        <asp:Button ID="btnGenerate" runat="server" Text="Tạo báo cáo" 
                            CssClass="mybutton" onclick="btnGenerate_Click" />
                    </td>
                </tr>
            </table>
            <asp:UpdateProgress ID="UpdateProgress1" runat="server">
                <ProgressTemplate>
                    <div class="loading">
                        Đang xử lý <img src="../../resources/img/icons/loading.gif" style="width: 31px; height: 31px" alt="Loading" />
                    </div>
                </ProgressTemplate>
            </asp:UpdateProgress>

            <div class="hastable">
                <center style=" padding: 10px 0px; "><asp:Label ID="lblData" runat="server" Font-Bold="True" Font-Italic="True" 
                        ForeColor="Maroon"></asp:Label></center>
                    <asp:Literal ID="ltrData" runat="server"></asp:Literal>
            </div>
    </form>
    </div>
</div>
</asp:Content>
